package com.neusoft.neu24;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.PropertySource;

import java.util.TimeZone;


@SpringBootApplication
@MapperScan(basePackages = "com.neusoft.neu24.mapper")
@PropertySource("classpath:application-feedback.yml")
public class MainApp {
    public static void main(String[] args) {
        TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
        new SpringApplicationBuilder(MainApp.class)
                .properties("spring.config.name:application-feedback")
                .build()
                .run(args);
        System.out.println("feedback-MainApp is already on running!");
    }

}
